package com.hxd.otc.module.my.contract;

import com.hxd.otc.common.enums.NoticeType;
import com.hxd.otc.module.my.adapter.AfficheAdapter;
import com.hxd.otc.module.my.bean.NoticeBean;
import com.hxd.otc.mvp.contract.BaseRecyclerContract;

/**
 * Created by lzy on 2018/6/15 0015.
 * description ${AfficheContract}
 */
public interface AfficheContract {
    interface View extends BaseRecyclerContract.View<AfficheAdapter, NoticeBean> {
        void lookNoticeSuccess(NoticeBean noticeBean);

        void lookNoticeFail(String errMessage);
    }

    interface Presenter extends BaseRecyclerContract.Presenter<NoticeBean> {
        void setNotifyType(NoticeType noticeType);

        void lookNotice(final NoticeBean noticeId);
    }
}
